#ifndef _LED_H_
#define _LED_H_


typedef enum{       //显示字码枚举
    _0_,
    _1_,
    _2_,
    _3_,
    _4_,
    _5_,
    _6_,
    _7_,
    _8_,
    _9_,
    _F_,
    _L_,
    _n_,
    _U_,
    _P_,
    _d_,
    _dig_off_
}dis_enum;


extern unsigned char data  _tenth_dig;
extern unsigned char data  _dig; 
//extern unsigned char shumaguan_pwm_count;
//extern unsigned char shumaguan_refresh_en;
//extern unsigned int shumaguan_shi_shanshuo_count;
extern unsigned int data  shumaguan_shanshuo;                 //显示前设置闪烁时间
extern unsigned char data  _brightness;
extern unsigned char data shumaguan_shi_shanshuo_en;
extern unsigned char data shumaguan_ge_shanshuo_en;


extern void display_driver();
extern void display_init();
extern void display(unsigned char data _tenth, unsigned char data _dig);               //使用字表
#endif 